package com.example.bestudentsystem.demos.web.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface HistoryMapper {
    @Insert("INSERT INTO history(cno,sno,htime,type) VALUES(#{cno},#{sno},#{htime},#{type})")
    void addHistory(String sno, String cno, Timestamp htime, String type);
}
